<?php
/**
 * Created by PhpStorm.
 * User: 尧
 * Date: 11/18/2016
 * Time: 2:13 PM
 */
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
?>
<?php $form= ActiveForm::begin(['id'=>'form-order']);?>

<?= $form->field($orderForm, 'fetchTime')?>
<?= $form->field($orderForm, 'fetchAddress')?>
<?= $form->field($orderForm, 'shipTime')?>
<?= $form->field($orderForm, 'shipAddress')?>
<?= $form->field($orderForm, 'paymentMethod')?>
<?= $form->field($orderForm, 'note')?>
<?= $form->field($orderForm, 'isAgree')->checkbox()?>
<?= Html::submitButton('确定下单', ['class' => 'btn btn-primary', 'name' => 'submit-button']) ?>

<?php ActiveForm::end()?>
